package com.dragon.pear.pages.common.start;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

/**
 * @author Chris Chan
 * Create on: 2025-02-05 01:45
 * Use for: Start 数据中心
 * Explain:
 */
public class StartViewModel extends ViewModel {
    // 示例数据
    private MutableLiveData<String> info;

    // 构造方法
    public StartViewModel() {
        info = new MutableLiveData<>();
        setInfo("测试");
    }

    // 示例数据读取
    public MutableLiveData<String> getInfo() {
        return info;
    }

    // 示例数据赋值
    public void setInfo(String info) {
        this.info.setValue(info);
    }
}
